package com.iflysse.mapper;

import com.iflysse.pojo.po.resp.ClassPoResp;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TODO
 *
 * @author My
 * @date 2021/10/21 14:45
 */
@Repository
public interface ClassMapper {


    @Select({"select distinct(class_no) as className from tb_student"})
    List<ClassPoResp> getAllClass();
}
